package com.imooc.respository;

import com.imooc.domain.Girl;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

/**
 * Created by Macoco on 2017-05-07.
 */
public interface GirlRespontery extends JpaRepository<Girl, Integer> {

    //    通过年龄查询
    public List<Girl> findByAge(Integer age    );

}

